Skip to content

Conversation

@jstirnaman
Copy link
Contributor

@jstirnaman jstirnaman commented Jan 3, 2026

Summary

  • Add ai_source_group_ids fields to ProductConfig interface
  • Improve SCSS for doc and Ask AI links
  • Update Grafana docs to add standardized aliases and context param for detector
  • Update modal partial to include AI source group IDs in config
  • Update E2E tests to use direct Cypress commands
  • Fix incorrect URLs in getGrafanaLink mapping (v2, Enterprise, Cloud TSM, Cloud v1)
  • Extract HOST_EXAMPLES to a class-level constant and add DEFAULT_HOST / DEFAULT_HOST_PORT constants to eliminate duplicate localhost:8086 strings

Test plan

Please review the following pages:

  • /influxdb3/core/visualize-data/grafana/
  • /influxdb/v2/visualize-data/grafana/
  • /enterprise_influxdb/v1/visualize-data/grafana/

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

PR Preview

Status Details
Preview View preview
Pages 1 page(s) deployed
Build time 65s
Last updated 2026-01-20 20:51:54 UTC
Pages included in this preview
  • /influxdb3/core/visualize-data/grafana/

Preview auto-deploys on push. Will be cleaned up when PR closes.

@jstirnaman jstirnaman requested a review from a team as a code owner January 20, 2026 20:49
@jstirnaman jstirnaman requested review from sanderson and removed request for a team January 20, 2026 20:49
@github-actions
Copy link
Contributor

PR Preview Action v1.4.8
🚀 Deployed preview to https://influxdata.github.io/docs-v2/pr-preview/pr-6693/
on branch gh-pages at 2026-01-20 20:51 UTC

@jstirnaman jstirnaman marked this pull request as draft January 20, 2026 20:53
… URLs

Refactor handleAuthorizationHelp to use getGrafanaLink() instead of
hardcoded URLs, ensuring all Grafana links come from a single source.

Also fix incorrect URLs in getGrafanaLink mapping:
- InfluxDB OSS 2.x: /visualize-data/ → /tools/
- InfluxDB Enterprise: /influxdb/enterprise/ → /enterprise_influxdb/v1/
- InfluxDB Cloud (TSM): /visualize-data/ → /tools/
- InfluxDB Cloud v1: now links to Enterprise v1 docs (Cloud v1 is
  Enterprise under the hood)
Extract HOST_EXAMPLES to a class-level constant and add DEFAULT_HOST
and DEFAULT_HOST_PORT constants to eliminate duplicate localhost:8086
strings throughout the code.

- Move hostExamples from local variable to class constant
- Use DEFAULT_HOST for URL placeholder and comparison checks
- Use DEFAULT_HOST_PORT for docker curl command examples
- Add ai_source_group_ids fields to ProductConfig interface
- Improve SCSS for doc and Ask AI links
- Update Grafana docs to add aliases and context param for detector
- Update modal partial to include AI source group IDs in config
- Remove custom Cypress commands for version detector
- Update E2E tests to use direct Cypress commands
@jstirnaman jstirnaman force-pushed the fix/version-detector-grafana-links branch from ae59892 to e7f6db2 Compare January 20, 2026 20:55
@jstirnaman jstirnaman marked this pull request as ready for review January 20, 2026 20:56
@jstirnaman jstirnaman requested review from a team as code owners January 20, 2026 20:56
@jstirnaman jstirnaman removed request for a team January 20, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants